package com.zh.spring.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 描述：com.zh.spring.config
 *
 * @author 80002023
 *         2017/1/3.
 * @version 1.0
 * @since 1.8
 */
@Configuration
public class RabbitCfg {

    @Bean
    public Queue helloQueue() {
        return new Queue("hello");
    }
}
